import type { userInfoType } from "../user/type";

export interface loginType {
  username: string;
  password: string;
  code?: string;
}

export interface roleInfoType {
  id: string;
  name: string;
  buttons?: string;
  users?: userInfoType[];
  userIds?: string[];
  create_time?: string;
  remark?: string;
  update_time?: string;
}

export interface changePasswordType {
  oldPassword: string;
  newPassword: string;
  confirmPassword: string;
}
